﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace Server
{
    class ClientClass
    {
        private TcpClient _chatClient;
        private TcpClient _clipClient;
        private TcpClient _videoClient;

        public ClientClass(TcpClient chatClient, TcpClient clipClient, TcpClient videoClient)
        {
            this._chatClient = chatClient;
            this._clipClient = clipClient;
            this._videoClient = videoClient;
        }

        public TcpClient ChatClient
        {
            get { return _chatClient; }
        }

        public TcpClient ClipClient
        {
            get { return _clipClient; }
        }

        public TcpClient VideoClient
        {
            get { return _videoClient; }
        }


        internal void CloseAll()
        {
            _chatClient.Close();
            _clipClient.Close();
            _videoClient.Close();
        }
    }
}
